package com.youan.pangu.base.bean;

import com.baomidou.mybatisplus.annotation.TableField;

import java.util.List;

/**
 * 构建element-ui tree data
 */
public abstract class ElementTree {
    @TableField(exist = false)
    protected String id;
    @TableField(exist = false)
    protected String label;
    @TableField(exist = false)
    protected List<ElementTree> children;

    public abstract String getId();

    public abstract void setId();

    public abstract String getLabel();

    public abstract void setLabel();

    public List<ElementTree> getChildren() {
        return this.children;
    }

    public void setChildren(List<ElementTree> children) {
        this.children = children;
    }
}
